package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName PageController
 * @Description PageController 页面跳转
 * @Author ZX
 * @Date 2020/5/26 10:25
 */
@Controller
public class PageController {

    @RequestMapping("/page")
    public String showPage(){
        return "index.html";//不用视图解析器必须加扩展名.html
    }
}
